package com.yue.mytest.pattern;

/**
 * 功能描述: TODO <br/>
 * 创建时间: 2016/10/27<br/>
 *
 * @author QiuYang
 */
public class StringFormatter {
    public static void main(String[] args) {
        int i = Integer.MAX_VALUE;
        System.out.println(Integer.toHexString(100));
        System.out.println(String.format("%08x", i));
        System.out.println(String.format("%x", i));
    }
}
